/**
 * 
 */
package fr.beans;

/**
 * @author Altenide-mov.
 *
 */
public class Article extends BeanBase {
		
	
	/**
	 * serialVersionUID.
	 */
	private static final long serialVersionUID = -6839011517439248212L;
	
	
	/**
	 * Author of article.
	 */
	private User user;
	
	
	/**
	 * @return the user
	 */
	public final User getUser() {
		return user;
	}

	/**
	 * @param puser the user to set.
	 */
	public final void setUser(final User puser) {
		this.user = puser;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Article ["
				+ (getUser() != null ? "getUser()=" + getUser() + ", " : "")
				+ "getId()=" + getId() + ", "
				+ (getName() != null ? "getName()=" + getName() : "") + "]";
	}
	
	


}
